﻿using libemscontrol.act;

namespace libcontrol
{
    class DataSync : CSingleAct
    {   
        public override void Working()
        {
            switch (m_nStep)
            {
                case STEP.STEP1:
                    WaitTimeOut(100, STEP.STEP2);
                    break;
                case STEP.STEP2:
                    CEmsAct.GetInstance().SharePC(SendMemData.GetInstance().GetBytes(),4, ref RecvMemData.RecvBuffer,4);
                    RecvMemData.GetInstance().SendMsg();
                    break;

                case STEP.STEP3:

                    break;
                case STEP.STEP4:

                    break;
            }
        }
    }
}
